import request from '@/utils/request'

//学生申请假条
export function studentSickApply(data) {
  return request({
    url: '/sick/student/apply',
    method: 'post',
    data
  })
}

//审批学生的假条 修改学生的假条状
export function teacherSickApproval(data) {
  return request({
    url: '/sick/teacher/approval',
    method: 'put',
	data
  })
}

//通过姓名查找学生的假条
export function teacherSelectByName(data) {
  return request({
    url: '/sick/teacher/selectByName ',
    method: 'get',
    data
  })
}

//查看学生的所有假条(待批)
export function teacherSelectAllsick(data) {
  return request({
    url: '/sick/teacher/selectAll ',
    method: 'get',
    data
  })
}
